package com.syl.service.imple;

import com.syl.dao.UserDAO;
import com.syl.pojo.User;
import com.syl.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UserServiceImple implements UserService{
    @Autowired
    private UserDAO userDAO;

    public void addUser(User user) {
        userDAO.addUser(user);
    }
}
